package events
{
	import flash.events.Event;
	
	public class WindowEvent extends Event
	{
		public static const RESIZE: String = "Window Resize"; 
		public static const WIN_CLOSE: String = "Window Close";
		public function WindowEvent(type:String, data: Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this._data = data == null ? {} : data;
		}
		protected var _data:Object;
		public function get data():Object
		{
			return this._data;
		}
	}
}	